package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.PacsSeriesMapper;
import com.ruoyi.system.domain.PacsSeries;
import com.ruoyi.system.service.IPacsSeriesService;

/**
 * 序列Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-03-09
 */
@Service
public class PacsSeriesServiceImpl implements IPacsSeriesService 
{
    @Autowired
    private PacsSeriesMapper pacsSeriesMapper;

    /**
     * 查询序列
     * 
     * @param id 序列主键
     * @return 序列
     */
    @Override
    public PacsSeries selectPacsSeriesById(Long id)
    {
        return pacsSeriesMapper.selectPacsSeriesById(id);
    }

    /**
     * 查询序列列表
     * 
     * @param pacsSeries 序列
     * @return 序列
     */
    @Override
    public List<PacsSeries> selectPacsSeriesList(PacsSeries pacsSeries)
    {
        return pacsSeriesMapper.selectPacsSeriesList(pacsSeries);
    }

    /**
     * 新增序列
     * 
     * @param pacsSeries 序列
     * @return 结果
     */
    @Override
    public int insertPacsSeries(PacsSeries pacsSeries)
    {
        return pacsSeriesMapper.insertPacsSeries(pacsSeries);
    }

    /**
     * 修改序列
     * 
     * @param pacsSeries 序列
     * @return 结果
     */
    @Override
    public int updatePacsSeries(PacsSeries pacsSeries)
    {
        return pacsSeriesMapper.updatePacsSeries(pacsSeries);
    }

    /**
     * 批量删除序列
     * 
     * @param ids 需要删除的序列主键
     * @return 结果
     */
    @Override
    public int deletePacsSeriesByIds(Long[] ids)
    {
        return pacsSeriesMapper.deletePacsSeriesByIds(ids);
    }

    /**
     * 删除序列信息
     * 
     * @param id 序列主键
     * @return 结果
     */
    @Override
    public int deletePacsSeriesById(Long id)
    {
        return pacsSeriesMapper.deletePacsSeriesById(id);
    }
}
